package com.atung.merchant.config.auth;

import cn.hutool.crypto.SecureUtil;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 */
@Component
public class PwdCreateUtil {
    private static final String salt = "atung";
    public static String createPwd(String pwd) {
        String encryptPwd = SecureUtil.md5(salt + pwd);
        return encryptPwd;

    }
}
